﻿namespace Shared_Mutex_Manager_Test.Locking
{
    /// <summary>
    ///     Event Arguments use when Shared Mutex is acquired
    /// </summary>
    public class SharedMutexAcquiredEventArgs : SharedMutexEventArgs
    {
        public SharedMutexAcquiredEventArgs(string mutexName, bool initiallyAcquired)
            : base(mutexName)
        {
            this.InitiallyAcquired = initiallyAcquired;
        }

        public bool InitiallyAcquired { get; private set; }
    }
}